package com.syyo.gulimall.order.feign;

import com.syyo.gulimall.order.domain.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @ author wang
 * @ date: 2021/4/26 15:08
 * @ Description:
 */
@FeignClient("gulimall-member")
public interface MemberFeign {


    @GetMapping("/member/memberreceiveaddress/{memberId}/address")
    public List<MemberAddressVo> listAddress(@PathVariable("memberId") Long memberId);

}
